package com.he;

import com.he.feign.ServiceProviderService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableFeignClients(clients = {ServiceProviderService.class})
@EnableDiscoveryClient
public class consumer_feign {
    public static void main(String[] args) {
        SpringApplication.run(consumer_feign.class,args);
    }
}
